<template>
  <div id="app">
    <el-container>
      <!--    <div id="nav">-->
      <!--      <router-link to="/">Home</router-link> |-->
      <!--      <router-link to="/about">About</router-link> |-->
      <!--      <router-link to="/register">Register</router-link> |-->
      <!--      <router-link to="/login">Login</router-link>-->
      <!--    </div>-->
      <el-header class="header">
        <top-bar class="top-bar"></top-bar>
      </el-header>
      <el-main>
        <router-view/>
      </el-main>
    </el-container>
  </div>
</template>
<script>
import TopBar from '@/components/TopBar'

export default {
  components: { TopBar }
}
</script>

<style>
body {
  margin: 0;
  padding: 0;
}
.img{
  background: #ffffff;
  border-bottom: solid 1px #e6e6e6;
  width: 100px;
  height: 100px;
  display: inline-block;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;*/
  color: #2c3e50;
}

#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
